#include <iostream>
#include <string>
using namespace std;
int wordToNumber(string word) {
	if (word == "zero") return 0;
	if (word == "one") return 1;
	if (word == "two") return 2;
	if (word == "three") return 3;
	if (word == "four") return 4;
	if (word == "five") return 5;
	if (word == "six") return 6;
	if (word == "seven") return 7;
	if (word == "eight") return 8;
	if (word == "nine") return 9;

}
int main()
{
	string line, word = "";
	getline(cin, line);
	int count = 0;
	int calculate = 0;
	line += " ";
	for (char ch : line)
	{
		if (ch == ' ')
		{
			count++;
			if (count > 3)
			{
				calculate += 1;
			}
			if (count>3)
			{
				cout << "Wrong input";
			}
		}
		
	}
}
